package com.info.zhiduoduo.admin.model.formbean.partner;

import com.info.zhiduoduo.common.validator.IntIn;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class SavePartnerCompanyStateFormBean {

	@ApiModelProperty("分佣id")
	private int id;

	@IntIn(value = {1,2}, message = "请选择正确的分佣状态")
	@ApiModelProperty("分佣状态 1.正常 2:停止")
	private int state;
}
